package cn.wolfcode.redis.service;

import cn.wolfcode.redis.vo.StrategyStatisVO;

import java.util.List;

public interface IStrategyStatisVORedisService {


    void viewnumIncrease(Long id);

    void setStrategyVO(StrategyStatisVO vo);

    StrategyStatisVO getStrategyVO(Long id);

    void replynumIncrease(Long strategyId);

    boolean favor(Long sid, Long id);

    boolean hasFavor(Long sid, Long userId);

    boolean strategyThumbup(Long sid, Long id);

    boolean isVoExists(Long id);

    List<StrategyStatisVO> queryVOByPattern(String s);
}
